Ext.define('TS.store.base.DeptStore', {
	extend: 'Ext.data.Store', 
    model: 'TS.model.base.DeptModel',
    //autoLoad: true,
    proxy: {
	    type: 'ajax',
	    url:'base/deptlist.do',
	    
	    /*api: {
	        read: 'base/deptlist.do',
	        update: 'base/upddept.do',
	        create:'base/adddept.do',
	        destroy:'base/deldept.do'
	    },*/
	    reader: {
	        type: 'json',
	        root: '',
	        successProperty: 'success'
	    }
    }/*,
    listeners:{
		  update:function(store,record){
		  		
		  }
    }*/
});